﻿#pragma once


// posts 对话框

class posts : public CDialogEx
{
	DECLARE_DYNAMIC(posts)

public:
	posts(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~posts();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_USER2 };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButton8();
	afx_msg void OnBnClickedButton5();
	virtual BOOL OnInitDialog();
	CComboBox m_boardname;
	CString _boardname;
	CString post_id,board_id;
	CString username;
	afx_msg void OnBnClickedButton1();
	afx_msg void OnCbnSelchangeCombo1();
	CString m_post_title;
	CString m_post_content;
	CString username1;
	CListCtrl m_list1;
	CString m_post_id;
	void AddToGrid();
	afx_msg void OnBnClickedButton6();
	afx_msg void OnLvnItemchangedList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnNMClickList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnBnClickedButton3();
	afx_msg void OnBnClickedButton9();
	afx_msg void OnBnClickedButton10();
	afx_msg void OnBnClickedButton11();
	afx_msg void OnBnClickedButton7();
};
